﻿namespace TomatoBreak.Web
{
    using System.ComponentModel.DataAnnotations;

    public class CreateSessionModel
    {
        [Required(ErrorMessageResourceName = "EmailOrUserNameRequired", ErrorMessageResourceType = typeof(ModelValidationMessages))]
        public string EmailOrUserName { get; set; }

        [Required(ErrorMessageResourceName = "PasswordRequired", ErrorMessageResourceType = typeof(ModelValidationMessages))]
        public string Password { get; set; }

        [Display(Name = "Remember me")]
        public bool RememberMe { get; set; }
    }
}